package thinkingJava.chapter16;

public class ArrayOfGenericType<T> {
	T[] array;
	@SuppressWarnings("unchecked")
	public ArrayOfGenericType(int size) {
//		array = new T[size];
		array = (T[])new Object[size];
	}
	public static void main(String[] args) {

	}
//	public static <U> U[] makeArray(int size) {
//		return new U[size];
//	}
}
